package com.exception;

public enum ErrorCodeEnum {
    SEAT_SELECTION_REPEAT(10001, "你已经选择座位,请退出重新选择"),

    SEAT_SELECTION_FAILED(10002, "选座失败,刷新后重新选座"),
    CANNOT_LOG_OUT_WITHOUT_SELECTION(10003, "您尚未选座,无法进行退出!如有疑问请联系管理员"),
    UNKNOWN_ABNORMAL_EXIT_FAILED(10004, "未知异常退出失败,请重新尝试");
    private final int code;

    private final String msg;

    ErrorCodeEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }


    public String getMsg() {
        return msg;
    }

}
